package cn.zgz.service;

import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.List;

import cn.zgz.dao.managerDao;

import cn.zgz.model.*;
public class managerService {

	public int cherk(String managername, String managerno) throws ClassNotFoundException, SQLException {
		managerDao mD = new managerDao();
		return mD.cherk(managername,managerno);
	}

	public List<managerModel> findAll() throws Exception {
		managerDao mD = new managerDao();
		return mD.findAll();
	}

}
